package ooday01;

public class Person {
    String name;
    int age;
    String address;


    void sleep(){
        System.out.println(name+"正在睡觉...");
    }
    void eat(){
        System.out.println(name+"正在干饭...");
    }
    void sayHi(){
        System.out.println("大家好，我叫"+name+"，今年"+age+"岁了，家住在"+address+"。");
    }
}
